package com.example.houduan.Service;

import com.example.houduan.Pojo.Doctor;
import com.example.houduan.Utils.PageModel;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface DoctorService {

    List<Doctor> getAllDoctor();

    PageModel getDoctorPage(int num,int size);

    List<Doctor> getDoctorByConditions(String name,Integer sex,Integer level_id,String hospital);

    int addDoctor(Doctor doctor);

    int updateDoctor(Doctor doctor);

    int deleteDoctor(int id);
}
